package com.yf.esms.common;

/**
 * @Author yjc
 * @Description:
 * @Date 2020/6/7
 */
public enum ResponseCode {
    SUCCESS("200","操作成功"),
    FAILED("000001","操作失败"),
    SYSTEM_ERROR("000003","系统繁忙，请稍后重试"),
    PARAM_ERROR("000004","参数错误"),



    TIME_ERROR("200001","开始时间需小于结束时间"),
    TIME_FORMAT_ERROR("200002","时间格式有误"),

    ;

    private String code;

    private String msg;

    ResponseCode(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
